FUNCTION CloseServiceWindow(window: WindowPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7012, $AA54;
{$ENDC}
FUNCTION GetFrontServiceWindow(VAR window: WindowPtr): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7013, $AA54;
{$ENDC}
FUNCTION FindServiceWindow(thePoint: Point; VAR theWindow: WindowPtr): INTEGER;
{$IFC NOT GENERATINGCFM}
INLINE $7017, $AA54;
{$ENDC}
FUNCTION SetDefaultInputMethod(ts: Component; VAR slRecordPtr: ScriptLanguageRecord): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700C, $AA54;
{$ENDC}
FUNCTION GetDefaultInputMethod(VAR ts: Component; VAR slRecordPtr: ScriptLanguageRecord): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700D, $AA54;
{$ENDC}
FUNCTION SetTextServiceLanguage(VAR slRecordPtr: ScriptLanguageRecord): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700E, $AA54;
{$ENDC}
FUNCTION GetTextServiceLanguage(VAR slRecordPtr: ScriptLanguageRecord): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $700F, $AA54;
{$ENDC}
FUNCTION TSMEvent(VAR event: EventRecord): BOOLEAN;
{$IFC NOT GENERATINGCFM}
INLINE $7004, $AA54;
{$ENDC}
FUNCTION TSMMenuSelect(menuResult: LONGINT): BOOLEAN;
{$IFC NOT GENERATINGCFM}
INLINE $7005, $AA54;
{$ENDC}
FUNCTION InitTSMAwareApplication: OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7014, $AA54;
{$ENDC}
FUNCTION CloseTSMAwareApplication: OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7015, $AA54;
{$ENDC}
{ Component Manager Interfaces to Input Methods }
FUNCTION GetScriptLanguageSupport(ts: ComponentInstance; VAR scriptHdl: ScriptLanguageSupportHandle): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0001, $7000, $A82A;
{$ENDC}
FUNCTION InitiateTextService(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $0002, $7000, $A82A;
{$ENDC}
FUNCTION TerminateTextService(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $0003, $7000, $A82A;
{$ENDC}
FUNCTION ActivateTextService(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $0004, $7000, $A82A;
{$ENDC}
FUNCTION DeactivateTextService(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $0005, $7000, $A82A;
{$ENDC}
FUNCTION TextServiceEvent(ts: ComponentInstance; numOfEvents: INTEGER; VAR event: EventRecord): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0006, $0006, $7000, $A82A;
{$ENDC}
FUNCTION GetTextServiceMenu(ts: ComponentInstance; VAR serviceMenu: MenuHandle): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $0007, $7000, $A82A;
{$ENDC}
FUNCTION TextServiceMenuSelect(ts: ComponentInstance; serviceMenu: MenuHandle; item: INTEGER): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0006, $0008, $7000, $A82A;
{$ENDC}
FUNCTION FixTextService(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $0009, $7000, $A82A;
{$ENDC}
FUNCTION SetTextServiceCursor(ts: ComponentInstance; mousePos: Point): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0004, $000A, $7000, $A82A;
{$ENDC}
FUNCTION HidePaletteWindows(ts: ComponentInstance): ComponentResult;
{$IFC NOT GENERATINGCFM}
INLINE $2F3C, $0000, $000B, $7000, $A82A;
{$ENDC}
FUNCTION GetServiceList(numOfInterface: INTEGER; VAR supportedInterfaceTypes: OSType; VAR serviceInfo: TextServiceListHandle; VAR seedValue: LONGINT): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7008, $AA54;
{$ENDC}
FUNCTION OpenTextService(idocID: TSMDocumentID; aComponent: Component; VAR aComponentInstance: ComponentInstance): OSErr;
{$IFC NOT GENERATINGCFM}
INLINE $7009, $AA54;
{$ENDC}
FUNCTION CloseTextService(idocID: TSMDocumentID; aComponentInstance: ComponentInstance): OSErr;